package com.yoga.mapper;

import com.yoga.entity.YogaUser;
import com.yoga.entity.YogaUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YogaUserDao {
    long countByExample(YogaUserExample example);

    int deleteByExample(YogaUserExample example);

    int deleteByPrimaryKey(Integer uid);

    int insert(YogaUser record);

    int insertSelective(YogaUser record);

    List<YogaUser> selectByExample(YogaUserExample example);

    YogaUser selectByPrimaryKey(Integer uid);

    int updateByExampleSelective(@Param("record") YogaUser record, @Param("example") YogaUserExample example);

    int updateByExample(@Param("record") YogaUser record, @Param("example") YogaUserExample example);

    int updateByPrimaryKeySelective(YogaUser record);

    int updateByPrimaryKey(YogaUser record);
}